package cn.calm.jpa.impl;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

import cn.calm.jpa.Hello;
import aQute.bnd.annotation.component.Component;

@Component
public class HelloImpl implements Hello{

	@Override
	public void helloJpa() {
		EntityManagerFactory emf=Persistence.createEntityManagerFactory("test");
		System.out.println(emf);
	}
}
